<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/01-promise-构造函数.js"></script>
</head>
<body>
    <script>
        /**
         *   let p1 = new Promise((resolve, reject)=>{
         * 
         *   })
         *   let res = p1.then(value=>{}, reason=>{})
         * 
         *   res.then()
         * 
         */
        
        let p1 = new Promise((resolve, reject)=>{
            console.log('执行器函数执行了');
        })
        console.log(p1);
    </script>
</body>
</html>